-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Weblate changes merged into new branch to manually resolve conflict #3777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Currently translated at 99.6% (33874 of 33994 strings) Author: Steffen Möller <steffen_moeller@gmx.de> Co-authored-by: Steffen Möller <steffen_moeller@gmx.de> Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/ Translation: LinuxCNC/LinuxCNC Documentation
Currently translated at 1.5% (542 of 33994 strings) Author: Temuri Doghonadze <temuri.doghonadze@gmail.com> Co-authored-by: Temuri Doghonadze <temuri.doghonadze@gmail.com> Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/ka/ Translation: LinuxCNC/LinuxCNC Documentation
Currently translated at 1.3% (450 of 33994 strings) Author: Tron Lee <472734894@qq.com> Co-authored-by: Tron Lee <472734894@qq.com> Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/zh_Hans/ Translation: LinuxCNC/LinuxCNC Documentation
Currently translated at 22.5% (7668 of 33994 strings) Author: Salvador Peña <salvadorp74@hotmail.com> Translated using Weblate (Spanish) Currently translated at 22.4% (7625 of 33994 strings) Author: Salvador Peña <salvadorp74@hotmail.com> Co-authored-by: Salvador Peña <salvadorp74@hotmail.com> Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/es/ Translation: LinuxCNC/LinuxCNC Documentation
Currently translated at 22.4% (7625 of 33994 strings) Author: Salvador Peña <salvadorp74@hotmail.com> Co-authored-by: Salvador Peña <salvadorp74@hotmail.com> Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/es/ Translation: LinuxCNC/LinuxCNC Documentation
IniFile::Find() used a static buffer to return results, causing bugs when multiple Find() calls were made before using the first result. Change Find() to return std::optional<std::string> instead of std::optional<const char*>. Each caller now owns their result copy. Core changes: - Remove static buffer from Find(), return std::string by value - Update all callers to use s->c_str() where const char* is needed - Use string methods (.empty(), .length(), ==) instead of C functions C API compatibility maintained via static storage in iniFind() wrapper. No functional changes - all updates are behavior-preserving.
Follow-up to the C++ IniFile::Find() reentrancy fix. The previous commit changed Find() to return std::string by value, but the C API wrapper iniFind() still used static storage, making it non-reentrant. Add iniFindString() that takes a caller-provided buffer, making it safe for concurrent use and multiple sequential calls. Reimplement iniFind() as a deprecated wrapper around iniFindString(). Migrate all C callers to iniFindString(): - mb2hal: 11 call sites - vfdb_vfd: 2 call sites - vfs11_vfd: 4 call sites - halcmd: 2 call sites Also clean up dead commented-out code in mb2hal and halrmt.
Collaborator
Author
|
Resolved conflict (it is only the date in the es.po file), but somehow these commits that appear redundant appeared. Don't merge, yet. |
Collaborator
Author
|
Tried again - same thing - will investigate tomorrow again. Expecting no harm from merging this PR. Weblate could not update its repository for a while, which may have caused what looks weird to me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Let's see how this goes.